#ifndef ACQUISITION_H_
#define ACQUISITION_H_
#include <unistd.h>
#include <sys/types.h> 
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h> 
#include <sys/wait.h>
#include <netdb.h> 

#include "casual_includes.h"
#include "../libcomm/message.h"
#include "../libcomm/communication.h"
/**
 * Permet de démarrer un serveur acquisition
 * @param mdl module lié au serveur acquisition
 * @param port port sur lequel le serveur se bind
 * 
 * <br><b>Exemple d'utilisation:</b>
 *<pre> module *ack1=init_module("Acquisition 01", ack, 1);
 launch_acquisition(ack1, 1201);</pre>
 */
void launch_acquisition(module* mdl, const int port);
#endif /*ACQUISITION_H_*/
